Properties
| Name | Returns | Notes | Example |
|---|---|---|---|
| minScore | float | ||
| fields | List | ||
| selectedTerms | Map | ||
| excludedTerms | Map | ||
| aggregations | List | ||
| parentPath | String | ||
| query | String | ||
| from | int | ||
| size | int | ||
| mustHaves | Map | ||
| localIndexNames | List | ||
| contentTypes | List | Set the search index content types to search for. If not provided will search for type 'html' |
Methods
| Name | Returns | Notes | Example |
|---|---|---|---|
| minScore ( f ) | SearchConfig | ||
| fields ( fields ) | SearchConfig | ||
| query ( query ) | SearchConfig | Returns this for chaining | |
| parentPath ( path ) | SearchConfig | ||
| size ( size ) | SearchConfig | ||
| exclude ( term, value ) | SearchConfig | ||
| select ( term, value ) | SearchConfig | ||
| mustHave ( term, value ) | SearchConfig | Terms added with this method must be present on all results of your search. | |
| mustHave ( term, values ) | SearchConfig | Terms added with this method must be present on all results of your search. |
Hide comments